<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>修改权限节点(方法)</title>
	<link rel="stylesheet" href="__ACSS__/table.css">
</head>
<body>
	<div class="table-wrap">
		<div class="table-main">
			<div class="ibox-title">
				<h3>修改权限节点(控制器)</small></h3>
			</div>
			<div class="ibox-content">	
				<form action="{:url('admin/admin_node/update')}" class="form-main" method="post" >
					<div class="form-group">
						<ul>
							<li>
								<span class="form-title">权限节点ID</span>
								<input type="hidden" name="id" value="{$res.id}">
								<span class="form-username">{$res.id}</span>
							</li>
							<li>
								<span class="form-title">节点名称(控制器)</span>
								<input class="form-text form-lower" type="text" name="name" value="{$res.name}">
								<em class="form-error">* 不能为空</em>
							</li>
							<li>
								<span class="form-title">节点中文标题</span>
								<input class="form-text form-lower" type="text"name="title" value="{$res.title}">
								<em class="form-error">* 不能为空</em>
							</li>
							<li>
                                <span class="form-title">状态</span>
								{if $res.status == 1 }
                            	<label class="form-radio"><input type="radio" value="1" name="status" checked >开启</label>
								<label class="form-radio"><input type="radio" value="0" name="status" >关闭</label>
								{else /}
								<label class="form-radio"><input type="radio" value="1" name="status" >开启</label>
								<label class="form-radio"><input type="radio" value="0" name="status" checked >关闭</label>
								{/if}
                            </li>
							<li>
								<span class="form-title">排序</span>
								<input class="form-text form-lower" type="number" name="sort" value="{$res.sort}">
								<em class="form-error">* 不能为空</em>
							</li>
							<li>
								<span class="form-title">节点备注</span>
								<input class="form-text form-w50" type="text" name="remark">
								<em class="form-error">* 不能为空</em>
							</li>

							<li>
								<span class="form-title"></span>
								<input class="form-submit-btn submit-btn" type="submit" value="提交">
								<a href="{:url('admin/admin_node/index')}" class="form-back-btn"  name="">返回</a>
							</li>
						</ul>
					</div>
				</form>
			</div>
		</div>
	</div>

</body>
</html>